package com.aaa.hospital.Configurationterminal.mapper;


import com.aaa.hospital.Configurationterminal.pojo.Admintab;
import com.aaa.hospital.Configurationterminal.pojo.Registermx;
import com.aaa.hospital.ManagementEnd.pojo.Docuser;
import com.aaa.hospital.ManagementEnd.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LoginMapper {
    List<User> UsrerqueryById(@Param("user") String user,@Param("password") String password);
    List<Docuser> DocuserqueryById(@Param("user") String user,@Param("password") String password);
    List<Admintab> AdmintabqueryById(@Param("user") String user,@Param("password") String password);
    List<Registermx> RegistermxById(@Param("user") String user,@Param("password") String password);





    List<User> UsrerqueryBYName(String user);
    List<Docuser> DocuserqueryBYName(String user);
    List<Admintab> AdmintabqueryBYName(String user);
    List<Registermx> RegistermxBYName(String user);


}
